package com.zw.mes.entity.shipments;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zw.mes.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.util.Date;

/**
 * @Description: 安装调试附件表
 * @Author: liqingyu
 * @Author: liqingyu
 * @Date: 2020/7/30 9:42
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "inst_dispatching_file")
public class InstDispatchingFile extends BaseModel {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    /*	主表ID	*/
    private Integer sheetId;
    /*	文件类型	*/
    private String fileType;
    /*	文件名称	*/
    private String fileName;
    /*	上传日期	*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date uploadTime;
    /*	上传人	*/
    private String uploadName;
    /*	备注	*/
    private String remark;
    /**
     * 存储路径
     */
    private String url;
    /*	是否可用	*/
    private Integer isDel;
    /*	类别 1= 安装附件，2=调试附件	*/
    private Integer type;


}